package com.imooc.coupon.service;

import com.imooc.coupon.entity.CouponTemplate;
import com.imooc.coupon.vo.TemplateRequest;
import com.imooc.coupon.exception.CouponException;

/**
 * @Author Administrator
 * @Date 2021/10/18 21:58
 * @Version 1.0
 */
public interface IBuildTemplateService {
    /**
     *创建优惠券模板
     * @param templateRequest
     * @return
     * @throws CouponException
     */
    CouponTemplate buildTemplate(TemplateRequest templateRequest) throws CouponException;
}
